module.exports = {
  useMock: false, // mock mode, if to build pakcage, please turn off this
  production:
    process.env.NODE_ENV === "production" &&
    process.env.VUE_APP_PREVIEW !== "true",
  serverTimeDiff: 0,
  devServer: {
    port: 8082,
    proxy: {
      "/dev-api": { // default 改为 dev-api 项目公共前缀
        target: "http://localhost:8081",   // 本地
        ws: false,
        changeOrigin: true,
        secure: false,
      },
    },
  },
};
